home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / daten / astrolog / src / makefile < prev    next >
Makefile  |  1995-08-11  |  2KB  |  58 lines

  1. # Astrolog (Version 4.40) File: Makefile (Amiga version)
  2. #
  3. # IMPORTANT NOTICE: The graphics database and chart display routines
  4. # used in this program are Copyright (C) 1991-1995 by Walter D. Pullen
  5. # (astara@u.washington.edu). Permission is granted to freely use and
  6. # distribute these routines provided one doesn't sell, restrict, or
  7. # profit from them in any way. Modification is allowed provided these
  8. # notices remain with any altered or edited versions of the program.
  9. #
  10. # First created 11/21/1991.
  11. #
  12. # This Makefile is included only for convenience. One could easily compile
  13. # Astrolog on a Unix system by hand with the command:
  14. # % cc -c -O *.c; cc -o astrolog *.o -lm -lX11
  15. # Generally, all that needs to be done to compile once astrolog.h has been
  16. # edited, is compile each source file, and link them together with the math
  17. # library, and if applicable, the main X library.
  18.  
  19. # $VER: $Id: Makefile,v 1.3 1995/06/26 16:14:16 tf Exp $
  20.  
  21. NAME = astrolog
  22.  
  23. OBJ = astrolog.o data.o data2.o general.o io.o \
  24.  calc.o matrix.o placalc.o placalc2.o \
  25.  charts0.o charts1.o charts2.o charts3.o intrpret.o \
  26.  xdata.o xgeneral.o xdevice.o xcharts0.o xcharts1.o xcharts2.o xscreen.o \
  27.  amiga.o getkey.o
  28.  
  29. #CC= gcc
  30. #LIBS = -lm -lamiga
  31.  
  32. CC= gcc -noixemul
  33. LIBS = -lm
  34.  
  35. #MACHINE = -m68000
  36. MACHINE = -m68030 -m68881
  37.  
  38. #CFLAGS  = -DAMIGA -O3 -Wall $(MACHINE) -I dinclude:amiga31
  39. CFLAGS  = -DAMIGA -Wall $(MACHINE) -I dinclude:amiga31
  40.  
  41. RM = rm -f
  42.  
  43.  
  44. all: $(NAME)
  45.  
  46. .c.o:
  47.     $(CC) $(CFLAGS) -c -o $@ $<
  48.  
  49. $(NAME): $(OBJ) ellipse.o
  50.     $(CC) $(CFLAGS) -o $(NAME) $(OBJ) ellipse.o $(LIBS)
  51. #
  52.  
  53. ellipse.o: ellipse.s
  54.     as -o ellipse.o ellipse.s
  55.  
  56. clean:
  57.     $(RM) $(OBJ) $(NAME)
  58.